//
//  JobsChooseModel.m
//  InviteJob
//
//  Created by LangLang on 17/11/2.
//  Copyright © 2017年 Shui. All rights reserved.
//

#import "JobsChooseModel.h"

@implementation JobsChooseModel

+ (NSMutableArray *)parsingDateFromResultDict:(NSDictionary *)dict andData:(NSString *)string{
    NSMutableArray *dataArray = [NSMutableArray array];
    if ([dict isKindOfClass:[NSDictionary class]]) {
        NSArray *appArray;
        if (string.length==0) {
            appArray = dict[@"datas"];
        }else{
            appArray = dict[@"datas"][string];
        }
        for (NSDictionary *app in appArray) {
            JobsChooseModel *model = [[JobsChooseModel alloc] init];
            [model setValuesForKeysWithDictionary:app];
            [dataArray addObject:model];
        }
        
    }
    return dataArray;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

@end
